/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bank.centraal;

import bank.bankieren.Money;
import bank.internettoegang.IBalie;
import bank.internettoegang.IRemoteListener;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.io.Serializable;

/**
 *
 * @author Tobias
 */
public interface ICentraal extends Remote, Serializable {

    public void addListener(IBalie listener) throws RemoteException;
    public void removeListener(IBalie listener) throws RemoteException;

    public boolean maakRemoteOver(int destination, Money amount) throws RemoteException;
}
